<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="initial-scale=1, maximum-scale=1,user-scalable=no"/>
    <title> 化学品环境管理申报及数据库信息系统</title>
    <link rel="stylesheet" href="/static/css/entypo.css" >
    <link rel="stylesheet" href="/static/css/bootstrap.min.css" >
    <link rel="stylesheet" href="/static/css/neon-core.min.css" >
    <link rel="stylesheet" href="/static/css/neon-theme.min.css">
    <link rel="stylesheet" href="/static/css/neon-forms.min.css" >
    <link rel="stylesheet" href="/static/css/jquery.autocompleter.css" >
    <script src="/static/js/My97DatePicker/WdatePicker.js"></script>
    
    <link rel="stylesheet" href="/static/css/style.css" >
    <link rel="stylesheet" href="/static/css/pagination.css" >
    <link rel="stylesheet" href="/static/css/white.css" >
    <link rel="stylesheet" href="/static/js/demo/css/style.css" >
    {% block css %}
    {% endblock %}
    <script src="/static/js/main-gsap.js"></script>
    <script src="/static/js/jquery-1.10.2.min.js" ></script>
    <script type="text/javascript" src="/static/js/jquery.pagination.js"></script>
    <script src="/static/js/jquery-ui-1.10.3.minimal.min.js"></script>
    <script src="/static/js/jquery.url.js"></script>
    <script src="/static/js/jquery.autocompleter.js"></script>
    <script src="/static/js/bootstrap.js"></script>
    <script src="/static/js/resizeable.js"></script>
    <script src="/static/js/neon-custom.js"></script>
    <script src="/static/js/neon-demo.js"></script>
    <script src="/static/js/common.js"></script>
    <!--表单验证插件,引用style.css需注意，可能与其他css冲突-->
    {% block js %}

    {%endblock%}
    <script src="/static/js/demo/js/Validform_v5.3.2_min.js"></script>
    <script>
        $(function(){
            $('#'+primary_menu).addClass('active opened');
            $('#'+primary_menu).children('ul').addClass("visible");
            $('#'+sub_menu).addClass('active');
            var demo=$(".formSubmit").Validform({
                tiptype:3,
                label:".label",
                postonce:true,
                showAllError:true,
                datatype:{
                    "rmb":/^\[0-9]{1,6}([\.]\[0-9]{1,3})?$/,
                    "rmbs":/^$|^\[0-9]{1,6}([\.]\[0-9]{1,3})?$/,
                    "number":/^[0-9]*[1-9][0-9]*$/,
                    "xhx":/^$|^[0-9-]*$/,
                    "sz":/^$|^[0-9]*$/,
                    "str":/^[a-zA-Z]+$/,
                    "select":/^[1-9]*[1-9][0-9]*$/,
                    "img":/^(([a-zA-Z0-9_]+):(\\.+))|([a-zA-Z0-9_]+)(.JPEG|.jpeg|.JPG|.jpg|.GIF|.gif|.BMP|.bmp|.PNG|.png)$/,
                    "imgs":/^$|^(([a-zA-Z0-9_]+):(\\.+))|([a-zA-Z0-9_]+)(.JPEG|.jpeg|.JPG|.jpg|.GIF|.gif|.BMP|.bmp|.PNG|.png)$/
                }
            });

        });
        function beforeDelete(url)
        {
            $('#myModal').modal("show");
            $("#delBtn").click(function(){
                location.href = url
            })
        }
    </script>


</head>
<body class="claro page-body  skin-white" >
<header class="logo-env">
    <div class="header">
        <!-- <div class="system_info">{{ request.session.admin.username }}欢迎回来 &nbsp;&nbsp;|&nbsp;&nbsp;<a href="/loginOut/2"> 注销<i class="entypo-logout right"></i></a>
        </div> -->
        <div class="navbar-header">
            <a href="" class="navbar-brand"> 化学品环境管理申报及数据库信息系统</a>
        </div>
    </div>
</header>

<div class="page-container">

    <div class="sidebar-menu">
        <ul id="main-menu" class="">
            <li class="root-level has-sub" id="menu_0">
                <a href=""><i class="entypo-book"></i><span>园区管理</span></a>
                <ul>
                    <li id="menu_0_0"><a href="/sa/index/"><span>园区列表</span></a></li>
                </ul>
            </li>
        </ul>
    </div>
    <div class="main-content">
        <div class="row">
            {% block content %}
            {%endblock%}
        </div>
        <!-- Footer -->
        <footer class="main">
            &copy; 2015 <strong>envbase</strong> All right reserved
        </footer>
    </div>
</div>


<div id="myModal" class="modal fade bs-example-modal-sm">
  <div class="modal-dialog modal-sm">
    <div class="modal-content">
      <!-- <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
        <h4 class="modal-title">Modal title</h4>
      </div> -->
      <div class="modal-body">
        <p>您确定删除这条数据吗？</p>
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-primary" data-dismiss="modal">取消</button>
        <button id="delBtn" type="button" class="btn btn-green">确定</button>
      </div>
    </div><!-- /.modal-content -->
  </div><!-- /.modal-dialog -->
</div><!-- /.modal -->
</body>
</html>